package com.ruoyi.marry.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Transient;

/**
 * 礼物记录对象 t_user_gift_record
 *
 * @author user_marry
 * @date 2020-11-25
 */
@Data
public class TUserGiftRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主表ID
     */
    private Long id;

    /**
     * 恋人ID
     */
    @Excel(name = "恋人ID")
    private Long loversId;

    /**
     * openId
     */
    @Excel(name = "openId")
    private String openid;

    /**
     * 礼物ID
     */
    @Excel(name = "礼物ID")
    private Long giftId;

    /**
     * 礼物金币值
     */
    @Excel(name = "礼物金币值")
    private Integer giftGold;

    //用于页面返回展示
    @Transient
    private String nickName;//赠送礼物的用户微信昵称

    @Transient
    private String nickImage;//赠送礼物的用户头像

    @Transient
    private String giftName;//礼物名称

    @Transient
    private String giftUrl;//礼物路径

    @Transient
    private Integer sumGold;//个人礼物金币总价值

}
